//
//  Checkpoint.h
//  server
//
//  Created by Jan Nase on 23.12.11.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <Cocoa/Cocoa.h>
#import "Located.h"

@interface Checkpoint : NSObject<Located> {
	double position_long;
	double position_lat;	
	int points;
	NSString* checkpointID;
    NSMutableArray* caughtBy;
}

@property double position_long;
@property double position_lat;
@property int points;
@property (copy) NSString* checkpointID;
@property (assign) NSMutableArray* caughtBy;

-(id)initWithID: (NSString*)pID andLong: (double)x andLat: (double)y andPoints: (int)pPoints;

@end
